// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import store from './store'

Vue.config.productionTip = false

Vue.prototype.routerPush = (path, id, type) => {
	router.push({path: path, params:{id: id}, query:{type: type}})
}

// Vue.prototype.store = store

// import fastclick from 'fastclick'
// fastclick.attach(document.body)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  store,
  template: '<App/>'
})
